package com.ysw.annotation;

import com.ysw.autoconfig.SoaReferenceBeanDefinitionRegistrar;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * 启用他趣soa模块，会同时启用SoaReference与SoaProvider
 * 是否开启soa模式
 * @author ysw  2019/11/2 6:10 PM
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Import({SoaReferenceBeanDefinitionRegistrar.class})
@Documented
@Inherited
public @interface EnableSoa {
}
